package com.hegongda.okcmall.product.fegin;

import com.hegongda.common.to.SkuStockVo;
import com.hegongda.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author liueidong
 * @create 2021-02-21 22:21
 */
@FeignClient("okcmall-ware")
public interface WareService {
     @PostMapping("/ware/waresku/hasstock")
     List<SkuStockVo> hasStock(@RequestBody List<Long> skuIds);
}
